<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta charset="utf-8" />
    <title>统一认证中心</title>
    <meta name="description" content="User login page" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
</head>
<body class="login-layout">
<div class="main-container">
    <div class="main-content">
        <div class="row">
            <div class="col-sm-10 col-sm-offset-1">
                <div class="login-container">
                    <div class="center">
                        <h1>
                            <i class="ace-icon fa fa-leaf green"></i>
                            <!-- <span class="red">XX</span> -->
                            <span class="white" id="id-text2">portal-sso认证中心</span>
                        </h1>
                    </div>

                    <div class="space-6"></div>

                    <div class="position-relative">
                        <div id="login-box" class="login-box visible widget-box no-border">
                            <div class="widget-body">
                                <div class="widget-main">
                                    <h4 class="header blue lighter bigger">
                                        <i class="ace-icon fa fa-coffee green"></i>
                                        后台登录
                                    </h4>

                                    <div class="space-6"></div>

                                    <form id="_loginForm"  th:action="@{loginon}" method="post"
                                          validate="true" vmessage="false">
                                        <fieldset>
                                            <label class="block clearfix form-group">
														<span class="block input-icon input-icon-right help-validate">
															<input id="_username" name="username" value="admin" type="text" class="form-control form-data" placeholder="登录名"
                                                                   required="true" minlength = '1'/>
															<i class="ace-icon fa fa-user"></i>
														</span>
                                            </label>

                                            <label class="block clearfix form-group">
														<span class="block input-icon input-icon-right help-validate">
															<input id="_password" name="password" value="123456" type="password" class="form-control form-data" placeholder="密码"
                                                                   required="true" minlength = '3' maxlength = '16'/>
                                                            <input type="hidden" id="_password_key" name="password_key"/>
															<i class="ace-icon fa fa-lock"></i>
														</span>
                                            </label>
                                            <label>
                                                <input required="true" autocomplete="off"  placeholder="输入验证码" type="text" name="code"/>
                                                <input required="true" type="hidden" name="code_key" th:value="${code_key}"/>
                                                <a onclick="reload_img()"><img  th:src="${code_key_url}"></a>
                                            </label>

                                            <div class="space"></div>

                                            <div class="clearfix">
                                                <label class="inline">
                                                    <input id="_rememberMe" type="checkbox" class="ace" checked=""/>
                                                    <span class="lbl"> 记住我</span>
                                                </label>

                                                <button id="_loginButton1" type="submit" class="width-35 pull-right btn btn-sm btn-primary">
                                                    <i class="ace-icon fa fa-key"></i>
                                                    <span class="bigger-110">登录</span>
                                                </button>
                                            </div>

                                            <div class="space-4"></div>
                                        </fieldset>
                                    </form>


                                </div><!-- /.widget-main -->


                            </div><!-- /.widget-body -->
                        </div><!-- /.login-box -->

                    </div><!-- /.position-relative -->

                </div>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.main-content -->
</div><!-- /.main-container -->



<script type="text/javascript" src="../js/crypto-js.js"></script>
<script type="text/javascript" src="../js/jQuery v3.6.0.js"></script>
<script type="text/javascript" src="../js/jquery.cookie.js"></script>
<script type="text/javascript" src="../js/jquery.form.min.js"></script>
<script type="text/javascript" src="../js/jquery.validate-2.0.min.js"></script>
<script type="text/javascript" src="../js/jquery.validate-2.0.custom.min.js"></script>
<script type="text/javascript" src="../js/portalSso.js"></script>


<!-- inline scripts related to this page -->
<script type="text/javascript">

</script>
</body>
</html>